package tech.aistar;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.EnableTransactionManagement;


@EnableTransactionManagement
@MapperScan(basePackages = "tech.aistar.mapper") // mapper扫描器
@SpringBootApplication
public class GuYongApplication {

    public static void main(String[] args) {
        SpringApplication.run(GuYongApplication.class, args);
    }

}
